package com.eis.exception;


public class EisSysException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1634689500938730021L;
	
	private int errorCode;
	
	public EisSysException(EisErrorCode errorCode) {
		super(errorCode.getMessage());
		this.errorCode = errorCode.getErrorCode();
	}

	public int getErrorCode() {
		return errorCode;
	}
}
